package com.yunkuhui.www.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/interceptor")
public class InterceptorController {

	@RequestMapping("/1")
	public String testInterceptor1() {
		return "logInterceptor";
	}

	@RequestMapping("/2")
	public String testInterceptor2() {
		return "logInterceptor";
	}
}
